<?
require("config.php");

$table = "course_schedule";
$field = array(

"id",
"picture1",
"picture2",
"picture3",
"picture4",
);

$exp = "AND id = '$id'";
$r = unlimitQuery($table,$field,$exp);

$id = $r[0][0];
$Picture1 = $r[0][1];
$Picture2 = $r[0][2];
$Picture3 = $r[0][3];
$Picture4 = $r[0][4];


?>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Acuity World Training Schedule List</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link href="images/css.css" rel="stylesheet" type="text/css">
</head>

<body bgcolor="#C5D2D7" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="96%" height="178" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 


    <td align="center" width="200">


<?if ($Picture1){?>	

<table width="" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="11"><img src="images/box1.gif" width="11" height="12"></td>
    <td background="images/box7.gif"><img src="images/box7.gif" width="16" height="12"></td>
    <td width="15"><img src="images/box2.gif" width="15" height="12"></td>
  </tr>
  <tr> 
    <td background="images/box5.gif"><img src="images/box5.gif" width="11" height="17"></td>
    <td bgcolor="#FFFFFF"><a href="schedule_photo_bottom.php?pic=<?=urlEncode($PIC_DIR . "$table/" . $Picture1)?>" target="main"><?=showPic($PIC_DIR . "$table/sm_" . $Picture1,"")?></a></td>
    <td background="images/box6.gif"><img src="images/box6.gif" width="15" height="15"></td>
  </tr>
  <tr>
    <td><img src="images/box4.gif" width="11" height="17"></td>
    <td background="images/box8.gif"><img src="images/box8.gif" width="12" height="17"></td>
    <td><img src="images/box3.gif" width="15" height="17"></td>
  </tr>
</table>
<?}?>	
	
	
	
	
	
	</td>

    <td align="center" width="200">
	
<?if ($Picture2){?>	
<table width="" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="11"><img src="images/box1.gif" width="11" height="12"></td>
    <td background="images/box7.gif"><img src="images/box7.gif" width="16" height="12"></td>
    <td width="15"><img src="images/box2.gif" width="15" height="12"></td>
  </tr>
  <tr> 
    <td background="images/box5.gif"><img src="images/box5.gif" width="11" height="17"></td>
    <td bgcolor="#FFFFFF"><a href="schedule_photo_bottom.php?pic=<?=urlEncode($PIC_DIR . "$table/" . $Picture2)?>" target="main"><?=showPic($PIC_DIR . "$table/sm_" . $Picture2,"")?></a></td>
    <td background="images/box6.gif"><img src="images/box6.gif" width="15" height="15"></td>
  </tr>
  <tr>
    <td><img src="images/box4.gif" width="11" height="17"></td>
    <td background="images/box8.gif"><img src="images/box8.gif" width="12" height="17"></td>
    <td><img src="images/box3.gif" width="15" height="17"></td>
  </tr>
</table>
<?}?>	
	
	
	</td>

    <td align="center" width="200">





	
<?if ($Picture3){?>	
	
<table width="" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="11"><img src="images/box1.gif" width="11" height="12"></td>
    <td background="images/box7.gif"><img src="images/box7.gif" width="16" height="12"></td>
    <td width="15"><img src="images/box2.gif" width="15" height="12"></td>
  </tr>
  <tr> 
    <td background="images/box5.gif"><img src="images/box5.gif" width="11" height="17"></td>
    <td bgcolor="#FFFFFF"><a href="schedule_photo_bottom.php?pic=<?=urlEncode($PIC_DIR . "$table/" . $Picture3)?>" target="main"><?=showPic($PIC_DIR . "$table/sm_" . $Picture3,"")?></a></td>
    <td background="images/box6.gif"><img src="images/box6.gif" width="15" height="15"></td>
  </tr>
  <tr>
    <td><img src="images/box4.gif" width="11" height="17"></td>
    <td background="images/box8.gif"><img src="images/box8.gif" width="12" height="17"></td>
    <td><img src="images/box3.gif" width="15" height="17"></td>
  </tr>
</table>
<?}?>	
	
	






</td>

    <td align="center" width="200">
	
	
<?if ($Picture4){?>	
	
<table width="" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="11"><img src="images/box1.gif" width="11" height="12"></td>
    <td background="images/box7.gif"><img src="images/box7.gif" width="16" height="12"></td>
    <td width="15"><img src="images/box2.gif" width="15" height="12"></td>
  </tr>
  <tr> 
    <td background="images/box5.gif"><img src="images/box5.gif" width="11" height="17"></td>
    <td bgcolor="#FFFFFF"><a href="schedule_photo_bottom.php?pic=<?=urlEncode($PIC_DIR . "$table/" . $Picture4)?>" target="main"><?=showPic($PIC_DIR . "$table/sm_" . $Picture4,"")?></a></td>
    <td background="images/box6.gif"><img src="images/box6.gif" width="15" height="15"></td>
  </tr>
  <tr>
    <td><img src="images/box4.gif" width="11" height="17"></td>
    <td background="images/box8.gif"><img src="images/box8.gif" width="12" height="17"></td>
    <td><img src="images/box3.gif" width="15" height="17"></td>
  </tr>
</table>
<?}?>	
	
	
	
	
	
	
	</td>

  </tr>
</table>
<table width="100%" height="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td height="2" bgcolor="F78D83"><img src="images/shim.gif" width="1" height="2"></td>
  </tr>
</table>
</body>
</html>
